package com.mall.dao.custom;

import com.mall.controller.vo.GoodsCategoryVO;
import com.mall.dao.generator.GoodsMapper;
import com.mall.entity.Goods;

import java.util.List;

public interface CtGoodsMapper extends GoodsMapper {

    List<Goods> selectRandomList(Goods goods);

    List<String> selectAllCategoryName();

    List<Goods> selectByCategoryNames(String categoryName);

    List<Goods> selectList(Goods goods);

    List<Goods> selectByGoodsIds(List<Integer> goodsIds);

    List<Goods> selectAll();

    List<Goods> selectBySearchKeyAndCategoryName(String searchKey, String categoryName);

    List<Goods> selectBySeq(String categoryName, Integer seq);


    int updateXlAndKcByOrderNumber(String orderNumber);
}